package com.yict.csms.resourceplan.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

@Entity
@Table(name = "CSMS_PERSON_ORDER")
public class PersonOrder implements Serializable{

	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "csms_person_order_seq")
	@SequenceGenerator(name = "csms_person_order_seq", sequenceName = "SEQ_CSMS_PERSON_ORDER", allocationSize = 1, initialValue = 1)
	@Column(name = "ORDERID")
	private Long orderid;
	@Column(name = "CWTID")
	private Long cwtid;
	@Column(name = "ORDERDATE")
	private Date orderdate;
	@Column(name = "ORDERTIME")
	private String ordertime;
	@Column(name = "PROFEID")
	private Long profeid;
	@Column(name = "STATIONID")
	private Long stationid;
	@Column(name = "COMPANYID")
	private Long companyid;
	@Column(name = "INPUTTYPE")
	private String inputtype;
	@Column(name = "UNIT")
	private String unit;
	@Column(name = "TMODE")
	private String tmode;
	@Column(name = "STATUS")
	private String status;
	@Column(name = "ORDERQUANTITY")
	private BigDecimal orderquantity;
	@Column(name = "ORDERDOQUAN")
	private BigDecimal orderdoquan;
	@Column(name = "ALLORDERQUAN")
	private BigDecimal allorderquan;
	@Column(name = "ORDERBEGINDATE")
	private Date orderbegindate;
	@Column(name = "ORDERENDDATE")
	private Date orderenddate;
	@Column(name = "WORKQUANTITY")
	private BigDecimal workquantity;
	@Column(name = "WORKDOQUAN")
	private BigDecimal workdoquan;
	@Column(name = "ALLWORKQUAN")
	private BigDecimal allworkquan;
	@Column(name = "WORKBEGINDATE")
	private Date workbegindate;
	@Column(name = "WORKENDDATE")
	private Date workenddate;
	@Column(name = "REMOVALTIME")
	private BigDecimal removaltime;
	@Column(name = "REMOVALREASON")
	private String removalreason;
	@Column(name = "ORDERPERSON")
	private Long orderperson;
	@Column(name = "ORDERBYDATE")
	private Date orderbydate;
	@Column(name = "REORDERPERSON")
	private Long reorderperson;
	@Column(name = "REORDERDATE")
	private Date reorderdate;
	@Column(name = "ASSIGNEDPERSON")
	private Long assignedperson;
	@Column(name = "ASSIGNEDDATE")
	private Date assigneddate;
	@Column(name = "REASSIGNEDPERSON")
	private Long reassignedperson;
	@Column(name = "REASSIGNEDDATE")
	private Date reassigneddate;
	@Column(name = "CONFIRMPERSON")
	private Long confirmperson;
	@Column(name = "CONFIRMDATE")
	private Date confirmdate;
	@Column(name = "COMFIRMGROUP")
	private String comfirmgroup;
	@Column(name = "RECONFIRMPERSON")
	private Long reconfirmperson;
	@Column(name = "RECONFIRMDATE")
	private Date reconfirmdate;

	@Column(name = "CREATEPERSON")
	private Long createperson;

	@Column(name = "CREATEDATE")
	private Date createdate;

	@Column(name = "UPDATEPERSON")
	private Long updateperson;

	@Column(name = "UPDATEDATE")
	private Date updatedate;

	public Long getOrderid() {
		return orderid;
	}

	public void setOrderid(Long orderid) {
		this.orderid = orderid;
	}

	public Long getCwtid() {
		return cwtid;
	}

	public void setCwtid(Long cwtid) {
		this.cwtid = cwtid;
	}

	public Date getOrderdate() {
		return orderdate;
	}

	public void setOrderdate(Date orderdate) {
		this.orderdate = orderdate;
	}

	public String getOrdertime() {
		return ordertime;
	}

	public void setOrdertime(String ordertime) {
		this.ordertime = ordertime;
	}

	public Long getProfeid() {
		return profeid;
	}

	public void setProfeid(Long profeid) {
		this.profeid = profeid;
	}

	public Long getStationid() {
		return stationid;
	}

	public void setStationid(Long stationid) {
		this.stationid = stationid;
	}

	public Long getCompanyid() {
		return companyid;
	}

	public void setCompanyid(Long companyid) {
		this.companyid = companyid;
	}

	public String getInputtype() {
		return inputtype;
	}

	public void setInputtype(String inputtype) {
		this.inputtype = inputtype;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public String getTmode() {
		return tmode;
	}

	public void setTmode(String tmode) {
		this.tmode = tmode;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public BigDecimal getOrderquantity() {
		return orderquantity;
	}

	public void setOrderquantity(BigDecimal orderquantity) {
		this.orderquantity = orderquantity;
	}

	public BigDecimal getOrderdoquan() {
		return orderdoquan;
	}

	public void setOrderdoquan(BigDecimal orderdoquan) {
		this.orderdoquan = orderdoquan;
	}

	public BigDecimal getAllorderquan() {
		return allorderquan;
	}

	public void setAllorderquan(BigDecimal allorderquan) {
		this.allorderquan = allorderquan;
	}

	public Date getOrderbegindate() {
		return orderbegindate;
	}

	public void setOrderbegindate(Date orderbegindate) {
		this.orderbegindate = orderbegindate;
	}

	public Date getOrderenddate() {
		return orderenddate;
	}

	public void setOrderenddate(Date orderenddate) {
		this.orderenddate = orderenddate;
	}

	public BigDecimal getWorkquantity() {
		return workquantity;
	}

	public void setWorkquantity(BigDecimal workquantity) {
		this.workquantity = workquantity;
	}

	public BigDecimal getWorkdoquan() {
		return workdoquan;
	}

	public void setWorkdoquan(BigDecimal workdoquan) {
		this.workdoquan = workdoquan;
	}

	public BigDecimal getAllworkquan() {
		return allworkquan;
	}

	public void setAllworkquan(BigDecimal allworkquan) {
		this.allworkquan = allworkquan;
	}

	public Date getWorkbegindate() {
		return workbegindate;
	}

	public void setWorkbegindate(Date workbegindate) {
		this.workbegindate = workbegindate;
	}

	public Date getWorkenddate() {
		return workenddate;
	}

	public void setWorkenddate(Date workenddate) {
		this.workenddate = workenddate;
	}

	public BigDecimal getRemovaltime() {
		return removaltime;
	}

	public void setRemovaltime(BigDecimal removaltime) {
		this.removaltime = removaltime;
	}

	public String getRemovalreason() {
		return removalreason;
	}

	public void setRemovalreason(String removalreason) {
		this.removalreason = removalreason;
	}

	public Long getOrderperson() {
		return orderperson;
	}

	public void setOrderperson(Long orderperson) {
		this.orderperson = orderperson;
	}

	public Date getOrderbydate() {
		return orderbydate;
	}

	public void setOrderbydate(Date orderbydate) {
		this.orderbydate = orderbydate;
	}

	public Long getReorderperson() {
		return reorderperson;
	}

	public void setReorderperson(Long reorderperson) {
		this.reorderperson = reorderperson;
	}

	public Date getReorderdate() {
		return reorderdate;
	}

	public void setReorderdate(Date reorderdate) {
		this.reorderdate = reorderdate;
	}

	public Long getAssignedperson() {
		return assignedperson;
	}

	public void setAssignedperson(Long assignedperson) {
		this.assignedperson = assignedperson;
	}

	public Date getAssigneddate() {
		return assigneddate;
	}

	public void setAssigneddate(Date assigneddate) {
		this.assigneddate = assigneddate;
	}

	public Long getReassignedperson() {
		return reassignedperson;
	}

	public void setReassignedperson(Long reassignedperson) {
		this.reassignedperson = reassignedperson;
	}

	public Date getReassigneddate() {
		return reassigneddate;
	}

	public void setReassigneddate(Date reassigneddate) {
		this.reassigneddate = reassigneddate;
	}

	public Long getConfirmperson() {
		return confirmperson;
	}

	public void setConfirmperson(Long confirmperson) {
		this.confirmperson = confirmperson;
	}

	public Date getConfirmdate() {
		return confirmdate;
	}

	public void setConfirmdate(Date confirmdate) {
		this.confirmdate = confirmdate;
	}

	public String getComfirmgroup() {
		return comfirmgroup;
	}

	public void setComfirmgroup(String comfirmgroup) {
		this.comfirmgroup = comfirmgroup;
	}

	public Long getReconfirmperson() {
		return reconfirmperson;
	}

	public void setReconfirmperson(Long reconfirmperson) {
		this.reconfirmperson = reconfirmperson;
	}

	public Date getReconfirmdate() {
		return reconfirmdate;
	}

	public void setReconfirmdate(Date reconfirmdate) {
		this.reconfirmdate = reconfirmdate;
	}

	public Long getCreateperson() {
		return createperson;
	}

	public void setCreateperson(Long createperson) {
		this.createperson = createperson;
	}

	public Date getCreatedate() {
		return createdate;
	}

	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}

	public Long getUpdateperson() {
		return updateperson;
	}

	public void setUpdateperson(Long updateperson) {
		this.updateperson = updateperson;
	}

	public Date getUpdatedate() {
		return updatedate;
	}

	public void setUpdatedate(Date updatedate) {
		this.updatedate = updatedate;
	}
}
